package com.odriver.neulearn.Bean;

import java.util.List;

/**
 * Created by yeruyi on 2016/11/28.
 */

public class DetailCourseBean {


    /**
     * postId : 48
     * postName : JAVA软件工程师
     * status : 1
     * delete_flag : 1
     * directId : 2
     * postDesc : &nbsp; &nbsp; JAVA语言多年来一直雄踞世界编程语言前三甲，无论是服务器、客户端，还是终端设备，它都无处不在，而且数量庞大。更有450多万开发者从事着JAVA编程的工作，还没有哪种语言能像JAVA那样发展之快，用途之广。每个JAVA软件工程师用他们的智慧在改变着我们的生活，改变着企业、社会和这个世界。如果想学习JAVA技能，成为JAVA软件工程师，那么就从这里开始吧。
     * postUrl : http://resource.neuedu.cn/path/picture/course/1384134723860.jpg
     * courseNums : 12
     * courseHours : 5023
     * videoNums : 862
     * testNums : 777
     * studyDays : 3个月
     * days : 100
     * price : 0
     * discountPrice : 0
     * discount : null
     * button_flag : 0
     * p_status : 1
     */

    private PostMapBean postMap;
    /**
     * parentStageName : 学习阶段1
     * childStageList : [{"stageId":"64","stageName":"JAVA技术基础","childStageResList":[{"resProcess":"0","resName":"Java面向对象开发设计","examType":"","resId":39,"resType":1},{"resProcess":"0","resName":"Oracle数据库技术","examType":"","resId":52,"resType":1},{"resProcess":"0","resName":"JavaSE核心技术","examType":"","resId":41,"resType":1}],"stageProcess":false}]
     */

    private List<PostStageResListBean> postStageResList;


    public PostMapBean getPostMap() {
        return postMap;
    }

    public void setPostMap(PostMapBean postMap) {
        this.postMap = postMap;
    }

    public List<PostStageResListBean> getPostStageResList() {
        return postStageResList;
    }

    public void setPostStageResList(List<PostStageResListBean> postStageResList) {
        this.postStageResList = postStageResList;
    }

    public static class PostMapBean {
        private int postId;
        private String postName;
        private int status;
        private int delete_flag;
        private int directId;
        private String postDesc;
        private String postUrl;
        private int courseNums;
        private int courseHours;
        private int videoNums;
        private int testNums;
        private String studyDays;
        private int days;
        private String price;
        private String discountPrice;
        private Object discount;
        private String button_flag;
        private int p_status;

        public int getPostId() {
            return postId;
        }

        public void setPostId(int postId) {
            this.postId = postId;
        }

        public String getPostName() {
            return postName;
        }

        public void setPostName(String postName) {
            this.postName = postName;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public int getDelete_flag() {
            return delete_flag;
        }

        public void setDelete_flag(int delete_flag) {
            this.delete_flag = delete_flag;
        }

        public int getDirectId() {
            return directId;
        }

        public void setDirectId(int directId) {
            this.directId = directId;
        }

        public String getPostDesc() {
            return postDesc;
        }

        public void setPostDesc(String postDesc) {
            this.postDesc = postDesc;
        }

        public String getPostUrl() {
            return postUrl;
        }

        public void setPostUrl(String postUrl) {
            this.postUrl = postUrl;
        }

        public int getCourseNums() {
            return courseNums;
        }

        public void setCourseNums(int courseNums) {
            this.courseNums = courseNums;
        }

        public int getCourseHours() {
            return courseHours;
        }

        public void setCourseHours(int courseHours) {
            this.courseHours = courseHours;
        }

        public int getVideoNums() {
            return videoNums;
        }

        public void setVideoNums(int videoNums) {
            this.videoNums = videoNums;
        }

        public int getTestNums() {
            return testNums;
        }

        public void setTestNums(int testNums) {
            this.testNums = testNums;
        }

        public String getStudyDays() {
            return studyDays;
        }

        public void setStudyDays(String studyDays) {
            this.studyDays = studyDays;
        }

        public int getDays() {
            return days;
        }

        public void setDays(int days) {
            this.days = days;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getDiscountPrice() {
            return discountPrice;
        }

        public void setDiscountPrice(String discountPrice) {
            this.discountPrice = discountPrice;
        }

        public Object getDiscount() {
            return discount;
        }

        public void setDiscount(Object discount) {
            this.discount = discount;
        }

        public String getButton_flag() {
            return button_flag;
        }

        public void setButton_flag(String button_flag) {
            this.button_flag = button_flag;
        }

        public int getP_status() {
            return p_status;
        }

        public void setP_status(int p_status) {
            this.p_status = p_status;
        }
    }

    public static class PostStageResListBean {

        private String parentStageName;
        /**
         * stageId : 64
         * stageName : JAVA技术基础
         * childStageResList : [{"resProcess":"0","resName":"Java面向对象开发设计","examType":"","resId":39,"resType":1},{"resProcess":"0","resName":"Oracle数据库技术","examType":"","resId":52,"resType":1},{"resProcess":"0","resName":"JavaSE核心技术","examType":"","resId":41,"resType":1}]
         * stageProcess : false
         */

        private List<ChildStageListBean> childStageList;

        public String getParentStageName() {
            return parentStageName;
        }

        public void setParentStageName(String parentStageName) {
            this.parentStageName = parentStageName;
        }

        public List<ChildStageListBean> getChildStageList() {
            return childStageList;
        }

        public void setChildStageList(List<ChildStageListBean> childStageList) {
            this.childStageList = childStageList;
        }

        public static class ChildStageListBean {
            private String stageId;
            private String stageName;
            private boolean stageProcess;
            /**
             * resProcess : 0
             * resName : Java面向对象开发设计
             * examType :
             * resId : 39
             * resType : 1
             */

            private List<ChildStageResListBean> childStageResList;

            public String getStageId() {
                return stageId;
            }

            public void setStageId(String stageId) {
                this.stageId = stageId;
            }

            public String getStageName() {
                return stageName;
            }

            public void setStageName(String stageName) {
                this.stageName = stageName;
            }

            public boolean isStageProcess() {
                return stageProcess;
            }

            public void setStageProcess(boolean stageProcess) {
                this.stageProcess = stageProcess;
            }

            public List<ChildStageResListBean> getChildStageResList() {
                return childStageResList;
            }

            public void setChildStageResList(List<ChildStageResListBean> childStageResList) {
                this.childStageResList = childStageResList;
            }

            public static class ChildStageResListBean {
                private String resProcess;
                private String resName;
                private String examType;
                private int resId;
                private int resType;

                public String getResProcess() {
                    return resProcess;
                }

                public void setResProcess(String resProcess) {
                    this.resProcess = resProcess;
                }

                public String getResName() {
                    return resName;
                }

                public void setResName(String resName) {
                    this.resName = resName;
                }

                public String getExamType() {
                    return examType;
                }

                public void setExamType(String examType) {
                    this.examType = examType;
                }

                public int getResId() {
                    return resId;
                }

                public void setResId(int resId) {
                    this.resId = resId;
                }

                public int getResType() {
                    return resType;
                }

                public void setResType(int resType) {
                    this.resType = resType;
                }
            }
        }
    }


}
